Jonathan Blandford [Mon, 25 Mar 2002 16:33:21 +0000 (16:33 +0000)]
fix bugs in the code.
Mon Mar 25 11:31:41 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tree_widget.sgml: fix bugs in the code.
Jonathan Blandford [Mon, 25 Mar 2002 04:10:49 +0000 (04:10 +0000)]
Make path arg const, #75653
Sun Mar 24 10:32:38 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
* gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
a warning
* gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
when we emit row_activated so that listeners of this signal can
grab the mouse, #75629
Matthias Clasen [Mon, 25 Mar 2002 00:15:00 +0000 (00:15 +0000)]
Changed signature to return success and set a GError parameter, adjusted
* io-png.c (setup_png_transformations): Changed signature to
return success and set a GError parameter, adjusted all callers.
Also work around a possible FPE in libpng and always check that
the new info is sane.
Chyla Zbigniew [Sun, 24 Mar 2002 15:12:05 +0000 (15:12 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>
Havoc Pennington [Sat, 23 Mar 2002 22:14:40 +0000 (22:14 +0000)]
invalidate the line containing start, even if the [start,end) range is
2002-03-23 Havoc Pennington <hp@pobox.com>
* gtk/gtktextlayout.c (gtk_text_layout_real_invalidate):
invalidate the line containing start, even if the [start,end)
range is empty (just invalidate [start,end], essentially).
Partially fixes #72374
Matthias Clasen [Sat, 23 Mar 2002 21:17:17 +0000 (21:17 +0000)]
context->updated_func is NULL during a nonincremental load.
* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment):
context->updated_func is NULL during a nonincremental load.
(gdk_pixbuf__wbmp_image_load): Stop reading after the first error.
Havoc Pennington [Sat, 23 Mar 2002 18:08:52 +0000 (18:08 +0000)]
end any selection in progress, patch from db@zigo.dhs.org, #74620
2002-03-23 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_do_popup): end any selection in
progress, patch from db@zigo.dhs.org, #74620
Havoc Pennington [Sat, 23 Mar 2002 17:54:16 +0000 (17:54 +0000)]
extend selection for pageup/pagedown and ctrl+pageup/pagedown if shift is
2002-03-23 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): extend
selection for pageup/pagedown and ctrl+pageup/pagedown if
shift is held. more of #53934
Havoc Pennington [Sat, 23 Mar 2002 17:35:09 +0000 (17:35 +0000)]
disconnect layout handlers earlier in the function, to avoid possible
2002-03-23 Havoc Pennington <hp@pobox.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): disconnect
layout handlers earlier in the function, to avoid possible
reentrancy screwups
(gtk_text_view_invalidate): Don't install idle handlers if
layout == NULL, otherwise we get problems during finalization
since clearing the buffer invalidates and puts the idle handlers
back after we destroy the layout. #74660
(gtk_text_view_ensure_layout): Install the validation handlers
right after creating the layout.
* gtk/gtktexttagtable.c (foreach_unref): call
_gtk_text_buffer_notify_will_remove_tag(), #75126
Havoc Pennington [Sat, 23 Mar 2002 04:37:53 +0000 (04:37 +0000)]
add more explanatory text to the error message about missing charsets, and
2002-03-22 Havoc Pennington <hp@pobox.com>
* gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
text to the error message about missing charsets, and use
g_printerr() not g_warning() since this is typically not a
programming error (we do not export any API to ask whether
a font set will have missing charsets so apps realistically can't
do anything other than try the gdk_fontset_load())
* gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
if the text view isn't editable and the user presses Return,
so default buttons and such can be activated, #74937
* gtk/gtktextbuffer.c (paste_from_buffer): don't insert
if the insertion point is not editable and the paste
is interactive, #74125
* gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
debug spew
* gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
cut/copied data right before replacing it, when we know we are
going to replace it. Fixes #74049
Richard Hult [Fri, 22 Mar 2002 17:47:51 +0000 (17:47 +0000)]
Fix typo, where x value was assigned to both x and y.
2002-03-22 Richard Hult <rhult@codefactory.se>
* gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
value was assigned to both x and y.
Owen Taylor [Fri, 22 Mar 2002 17:35:14 +0000 (17:35 +0000)]
Partial fix for problem where keypad keys acted as shift-arrows in an
Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
Partial fix for problem where keypad keys acted
as shift-arrows in an entry rather than arrows (#74327)
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
results by number of modifiers in the entry. Fixes
problem where if a key matched both modified and unmodified
key bindings ... e.g., the distinguishing key binding
was consumed, then it was random which was used.
* gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
Catch the case where there are multiple entries from the
same bindingset (with different modifiers), and use only
the first entry, which, with the change in _gtk_key_hash_lookup()
Owen Taylor [Fri, 22 Mar 2002 16:06:06 +0000 (16:06 +0000)]
Fix memory leak. (#74400, Morten Welinder.)
Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
leak. (#74400, Morten Welinder.)
* gtk/gtkaccelmap.c: Properly handle short returns from
write() calls. (Handling EINTR isn't enough... that only
handles the case where you were interrupted before you
wrote a single byte.)
* gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
Robustify against short returns from write() calls.
Owen Taylor [Fri, 22 Mar 2002 15:23:08 +0000 (15:23 +0000)]
ri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktextview.c (gtk_text_view_paint): Change
G_BREAKPOINT() to g_assert_not_reached ().
(#75865, Ashok Venkiteswaran)
Tor Lillqvist [Thu, 21 Mar 2002 22:36:02 +0000 (22:36 +0000)]
Don't clear all of the pen_style, just the PS_STYLE_MASK. Seems to fix
2002-03-22 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
but that is just the special case of one-pixel wide one-pixel
on-off dotted lines. To fully implement generic X11 style dashed
lines a major rewrite would be needed.
Matthias Clasen [Thu, 21 Mar 2002 21:59:41 +0000 (21:59 +0000)]
Trivial typo fix. (Vitaly Tishkov, #75726)
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
fix. (Vitaly Tishkov, #75726)
Owen Taylor [Thu, 21 Mar 2002 15:04:41 +0000 (15:04 +0000)]
Remove some left over debugging code with a G_BREAKPOINT() in it.
Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
some left over debugging code with a G_BREAKPOINT()
in it.
Cody Russell [Thu, 21 Mar 2002 04:48:31 +0000 (04:48 +0000)]
Much expanded overview docs for GtkTreeView and related objects.
Owen Taylor [Thu, 21 Mar 2002 00:50:15 +0000 (00:50 +0000)]
When changing months when the user clicks on a prev-month or next-month
Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_main_button): When
changing months when the user clicks on a prev-month
or next-month day, focus and select the new day.
Ignore double clicks on prev-month, next-month days.
(Based on suggestions from Andras Salamon, #74173)
* gtk/gtkcalendar.c: Implement the focused/unfocused
selected color change.
Alex Larsson [Thu, 21 Mar 2002 00:41:43 +0000 (00:41 +0000)]
Patches from Carlo E. Prelz <fluido@fluido.as> Now gtkfb at least compiles
2002-03-20 Alex Larsson <alexl@redhat.com>
Patches from Carlo E. Prelz <fluido@fluido.as>
Now gtkfb at least compiles and mostly works. The keyboard
stuff needs more loving.
* gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
At least set the out parameters for these calls.
* gdk/linux-fb/gdkmain-fb.c:
(gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
Implement new functions.
Matthias Clasen [Thu, 21 Mar 2002 00:31:23 +0000 (00:31 +0000)]
Avoid a double free error if reading the colormap fails.
* io-tga.c (try_colormap, gdk_pixbuf__tga_stop_load): Avoid a
double free error if reading the colormap fails.
* io-tiff.c (tiff_image_parse): Make TIFFReadRGBAImage stop on
errors, since it may otherwise segfault on certain bad TIFFs.
Owen Taylor [Thu, 21 Mar 2002 00:08:19 +0000 (00:08 +0000)]
Short-circuit the text to the exact same thing, so we don't unexpectedly
Wed Mar 20 19:00:03 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_set_text): Short-circuit
the text to the exact same thing, so we don't
unexpectedly change the selection or cursor position.
(#74290, John Ellis.)
Kristian Rietveld [Wed, 20 Mar 2002 23:04:16 +0000 (23:04 +0000)]
fix logic (fixes #74235, #73593)
Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_background_area),
(gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
Owen Taylor [Wed, 20 Mar 2002 22:20:36 +0000 (22:20 +0000)]
Patch from Richard Hestilow to fix gtk-font-name changes for widgets that
Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c: Patch from Richard Hestilow to fix
gtk-font-name changes for widgets that get the actual
default style. (#73709)
Kristian Rietveld [Wed, 20 Mar 2002 22:06:05 +0000 (22:06 +0000)]
add _gtk_rbtree_set_fixed_height()
Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
* gtk/gtktreeprivate.h: add fixed_height_check field
* gtk/gtktreeview.c (gtk_tree_view_init): initialize
scroll_sync_timer and fixed_height_check
(do_validate_rows): add fixed_height_check. If all validated rows
in the first cycle have the same height, then we set that height for
the entire tree. This is some sort of 'fake' optimization, but helps
a lot for the common case. We keep validating the entire tree in
the background though.
(gtk_tree_view_set_model): reset fixed_height_check
Owen Taylor [Wed, 20 Mar 2002 21:47:01 +0000 (21:47 +0000)]
Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC,
Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com>
* gtk/*.c: Patch from Erwann Chenede, #73900 fixing
a lot of warnings with Forte CC, mostly implicit
casts between void * and function pointers.
* gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
state field is not a GdkModifierType. (Also #73900)
Owen Taylor [Wed, 20 Mar 2002 17:37:48 +0000 (17:37 +0000)]
Remove leftover notification of has-default. (#75508, Jacob Berkman.)
Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_grab_default): Remove
leftover notification of has-default. (#75508, Jacob
Berkman.)
Owen Taylor [Wed, 20 Mar 2002 17:32:37 +0000 (17:32 +0000)]
Allow arrow keys as accelerators, as long as some modifier is pressed.
Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
arrow keys as accelerators, as long as some modifier
is pressed. (#75495)
* gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
incorrect example in the docs.
Owen Taylor [Wed, 20 Mar 2002 17:09:57 +0000 (17:09 +0000)]
Fix segfault when widget->parent is NULL. (#75615, Alexey A. Malyshev)
Wed Mar 20 12:06:30 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_child_visible):
Fix segfault when widget->parent is NULL.
(#75615, Alexey A. Malyshev)
Owen Taylor [Wed, 20 Mar 2002 17:04:32 +0000 (17:04 +0000)]
Improve test to prevent infinite loop. (#74952, Thomas Leonard)
Wed Mar 20 11:32:07 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c: Improve test to prevent infinite
loop. (#74952, Thomas Leonard)
* gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
Fix warning when toplevel menu shell isn't a menu
bar. (Thomas Leonard, #75602)
Owen Taylor [Wed, 20 Mar 2002 16:13:09 +0000 (16:13 +0000)]
Use $PKG_CONFIG, not pkg-config. (LEE Sau Dan, #75572)
Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
* configure.in: Use $PKG_CONFIG, not pkg-config.
(LEE Sau Dan, #75572)
Owen Taylor [Wed, 20 Mar 2002 15:59:30 +0000 (15:59 +0000)]
Fix assignment of time in scroll events. (Sven Neumann, #75574)
Wed Mar 20 10:55:56 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
of time in scroll events. (Sven Neumann, #75574)
Takayuki KUSANO [Wed, 20 Mar 2002 15:31:42 +0000 (15:31 +0000)]
Updated Japanese translation.
* ja.po: Updated Japanese translation.
Changwoo Ryu [Wed, 20 Mar 2002 06:01:09 +0000 (06:01 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Tor Lillqvist [Tue, 19 Mar 2002 23:16:08 +0000 (23:16 +0000)]
Use gdk_window_get_toplevel(), as it is the top-level windows that are
2002-03-20 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
gdk_window_get_toplevel(), as it is the top-level windows that are
registered for DND.
* gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
Ole Laursen [Tue, 19 Mar 2002 20:28:07 +0000 (20:28 +0000)]
Updated Danish translation.
2002-03-19 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
jacob berkman [Tue, 19 Mar 2002 17:59:13 +0000 (17:59 +0000)]
fix infinite loop when gtk_combo_func() returns NULL (bug #75464)
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
jacob berkman [Mon, 18 Mar 2002 23:08:38 +0000 (23:08 +0000)]
set the correct min/max values for the ratio property (fixes #75331)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
correct min/max values for the ratio property (fixes #75331)
Matthias Clasen [Mon, 18 Mar 2002 22:19:24 +0000 (22:19 +0000)]
Fix assumptions on rowstride by manually allocating a contiguous pixel
* io-tga.c: Fix assumptions on rowstride by manually allocating a
contiguous pixel buffer. Catch buffer overruns in RLE-modi.
Support grayscale + alpha (which can be written, but not read (!)
by the Gimp).
Owen Taylor [Mon, 18 Mar 2002 17:49:51 +0000 (17:49 +0000)]
Patch from Yao Zhang fixing reference count leak.
Mon Mar 18 11:55:03 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
Patch from Yao Zhang fixing reference count leak.
* gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
not if (!entry->editable).
Owen Taylor [Mon, 18 Mar 2002 16:14:04 +0000 (16:14 +0000)]
Fix backwards conditional. (#75019, Dan Winship.)
Mon Mar 18 11:09:17 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect):
Fix backwards conditional. (#75019, Dan Winship.)
Valek Frob [Mon, 18 Mar 2002 10:43:38 +0000 (10:43 +0000)]
Updated russian translation.
Kjartan Maraas [Sun, 17 Mar 2002 21:33:37 +0000 (21:33 +0000)]
Updated Norwegian (bokmål) translation.
2002-03-17 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian (bokmål) translation.
Kristian Rietveld [Sun, 17 Mar 2002 00:07:17 +0000 (00:07 +0000)]
use do_validate_rows instead of validate_rows_handler (fix by Mike Pieper,
Sun Mar 17 01:11:16 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_size_request): use
do_validate_rows instead of validate_rows_handler (fix by
Mike Pieper, #74126)
Kristian Rietveld [Sat, 16 Mar 2002 23:30:44 +0000 (23:30 +0000)]
just return when we have an input_only window (fix by Owen Taylor)
Sat Mar 16 23:54:56 2002 Kristian Rietveld <kris@gtk.org>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
return when we have an input_only window (fix by Owen Taylor)
* gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
scroll_sync_timer
* gtk/gtktreeview.c (install_scroll_sync_handler): new function,
(scroll_sync_handler): ditto,
(gtk_tree_view_unrealize): take scroll_sync_timer into account
(gtk_tree_view_row_deleted): install scroll_sync_timer instead of
calling top_row_to_dy/dy_to_top_row directly
-- this greatly speeds up clearing the model (#73199)
* gtk/gtktreemodelsort.c
(gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
for some reason I really screwed it up (fixes #74663)
Sven Neumann [Sat, 16 Mar 2002 18:11:23 +0000 (18:11 +0000)]
include CFLAGS from gthread-2.0 so that the libs work correctly in a
2002-03-16 Sven Neumann <sven@gimp.org>
* configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS)
(GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
so that the libs work correctly in a threaded environment.
Christian Meyer [Sat, 16 Mar 2002 15:33:24 +0000 (15:33 +0000)]
Updated German translation.
Matthias Clasen [Fri, 15 Mar 2002 23:27:55 +0000 (23:27 +0000)]
Catch invalid frame dimensions.
* io-gif.c (gif_get_frame_info): Catch invalid frame dimensions.
Owen Taylor [Fri, 15 Mar 2002 22:58:49 +0000 (22:58 +0000)]
Move pre-2.0 ChangeLog aside
Jonathan Blandford [Fri, 15 Mar 2002 21:47:52 +0000 (21:47 +0000)]
add example to docs, as people are seeming to have trouble with this
Fri Mar 15 12:51:42 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_new_with_attributes): add example to docs,
as people are seeming to have trouble with this function.
Remake docs as well.
Tor Lillqvist [Fri, 15 Mar 2002 21:35:38 +0000 (21:35 +0000)]
Set MATH_LIB to empty also on Win32.
2002-03-15 Tor Lillqvist <tml@iki.fi>
* configure.in: Set MATH_LIB to empty also on Win32.
Owen Taylor [Fri, 15 Mar 2002 20:43:13 +0000 (20:43 +0000)]
Fix byte shift arithmetic for big-endian. (Tracked down with help from
Fri Mar 15 15:37:01 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (convert_to_format):
Fix byte shift arithmetic for big-endian. (Tracked
down with help from Tuomas Kuosmanen)
Jonathan Blandford [Fri, 15 Mar 2002 16:37:07 +0000 (16:37 +0000)]
make args const, 74159 (gtk_tree_view_insert_column_with_attributes):
Fri Mar 15 11:28:41 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
make args const, 74159
(gtk_tree_view_insert_column_with_attributes): ditto
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_process_action): remov unused variables.
Soeren Sandmann [Fri, 15 Mar 2002 13:15:17 +0000 (13:15 +0000)]
Fix test for "active submenu".
Fri Mar 15 13:31:51 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
submenu".
Padraig O'Briain [Fri, 15 Mar 2002 10:06:02 +0000 (10:06 +0000)]
Fudge keymap to have lower upper case variants if there is only a single
* gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
upper case variants if there is only a single keysym per keycode and
the key symbol has upper and lower case variants (#74512)
Manish Singh [Fri, 15 Mar 2002 01:43:08 +0000 (01:43 +0000)]
shut up cvs
Owen Taylor [Thu, 14 Mar 2002 22:12:51 +0000 (22:12 +0000)]
Fix rather improbable reentrancy problem if a window is destroyed while
Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
improbable reentrancy problem if a window is destroyed
while updates are being processed on another window. (Noticed
by Michael Meeks, #74708)
Vitaly Tishkov [Thu, 14 Mar 2002 17:56:57 +0000 (17:56 +0000)]
gtk/gtktreemodelsort.c typo in docs for
2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
* gtk/gtktreemodelsort.c
typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
Owen Taylor [Thu, 14 Mar 2002 16:20:42 +0000 (16:20 +0000)]
When removing keys from the key hash, reinsert the right list back into
Thu Mar 14 11:17:18 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
removing keys from the key hash, reinsert the right list
back into the hash. (Dave Camp, #74571)
Owen Taylor [Wed, 13 Mar 2002 22:45:23 +0000 (22:45 +0000)]
Remove left-over GTK_OBJECT_CONNECTED macro that was defined in terms of
Wed Mar 13 17:17:40 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
macro that was defined in terms of the now-gone GTK_CONNECTED
flag. (Seth Burgess, #74028)
Owen Taylor [Wed, 13 Mar 2002 22:14:47 +0000 (22:14 +0000)]
Unset the acceleratable_groups qdata because qdata isn't removed on
Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset
the acceleratable_groups qdata because qdata isn't removed
on ->dispose but rather on ->finalize. (#74569, found
by Matt Wilson.)
Matthias Clasen [Wed, 13 Mar 2002 18:11:15 +0000 (18:11 +0000)]
Add valid_ras_test and invalid_bmp_1.
* test-images.h: Add valid_ras_test and invalid_bmp_1.
* test-loaders.c (main): Add random tests for ras and pnm and an
invalid bmp which was a crasher until my 2002-03-12 commit.
* io-pnm.c (gdk_pixbuf__pnm_image_load_increment): Don't unref the
pixbuf on errors.
* io-ras.c: Handle some errors.
Jonathan Blandford [Wed, 13 Mar 2002 04:23:50 +0000 (04:23 +0000)]
Fix cut-n-paste bug.
Tue Mar 12 23:14:23 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
cut-n-paste bug.
Richard Hestilow [Tue, 12 Mar 2002 21:23:43 +0000 (21:23 +0000)]
Allow NULL filenames.
Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com>
* gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
filenames.
Sven Neumann [Tue, 12 Mar 2002 20:38:49 +0000 (20:38 +0000)]
use sequential writes instead of calling memcpy(). Simpler and potentially
2002-03-12 Sven Neumann <sven@gimp.org>
* gdk-pixbuf.c (gdk_pixbuf_fill): use sequential writes instead of
calling memcpy(). Simpler and potentially faster. (#70332)
Owen Taylor [Tue, 12 Mar 2002 20:02:17 +0000 (20:02 +0000)]
fix accidentally committed junk chars
Owen Taylor [Tue, 12 Mar 2002 20:01:47 +0000 (20:01 +0000)]
Fix incorrect return value, filter out returns of 0x7f for the delete key.
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Matthias Clasen [Tue, 12 Mar 2002 19:49:03 +0000 (19:49 +0000)]
Replace a g_assert_not_reached () which could actually be reached by a
* io-bmp.c (DecodeHeader): Replace a g_assert_not_reached ()
which could actually be reached by a proper error status return.
Yuri Syrota [Tue, 12 Mar 2002 19:38:18 +0000 (19:38 +0000)]
Updated Ukrainian translation
Jonathan Blandford [Tue, 12 Mar 2002 05:36:12 +0000 (05:36 +0000)]
new FAQ.
Tue Mar 12 00:29:31 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/question_index.sgml: new FAQ.
* gtk/tmpl/gtktreemodel.sgml: clean up example
Jonathan Blandford [Tue, 12 Mar 2002 04:48:50 +0000 (04:48 +0000)]
fix totally broken foreach function.
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
foreach function.
Matthias Clasen [Tue, 12 Mar 2002 00:20:02 +0000 (00:20 +0000)]
Document GdkScreen.
* gdk/tmpl/windows.sgml: Document GdkScreen.
* gtk/gtk-sections.txt: Move a few Class structs to Standard sections.
* gtk/tmpl/gtktreemodel.sgml, gtk/tmpl/gtkprogress.sgml,
gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: Generate proper
markup for format strings in examples, also fix an oversight in
the GtkTreeModel example. (#74213)
Matthias Clasen [Mon, 11 Mar 2002 22:07:05 +0000 (22:07 +0000)]
Document gtk_{menu_item,widget}_set_accel_path() as the recommended API.
* gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
gtk_{menu_item,widget}_set_accel_path() as the recommended API.
(#69244)
Matthias Clasen [Mon, 11 Mar 2002 18:20:34 +0000 (18:20 +0000)]
Add interfaces to get docs on their signals.
* gtk/gtk.types: Add interfaces to get docs on their signals.
Changwoo Ryu [Mon, 11 Mar 2002 16:59:12 +0000 (16:59 +0000)]
Updated Korean translation
James Henstridge [Mon, 11 Mar 2002 07:42:21 +0000 (07:42 +0000)]
forgot to save ChangeLog before last commit
James Henstridge [Mon, 11 Mar 2002 07:40:16 +0000 (07:40 +0000)]
set CCAS and CCASFLAGS to get automake 1.6 compatibility without breaking
2002-03-11 James Henstridge <james@daa.com.au>
* configure.in: set CCAS and CCASFLAGS to get automake 1.6
compatibility without breaking things for people using 1.4.
Jonathan Blandford [Mon, 11 Mar 2002 02:13:21 +0000 (02:13 +0000)]
finally get the right behavior.
Sun Mar 10 21:04:30 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
right behavior.
Kristian Rietveld [Mon, 11 Mar 2002 00:28:47 +0000 (00:28 +0000)]
compare path with cursor path and not with the selected iter in the
Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
cursor path and not with the selected iter in the 'decide to edit'
check
Andraz Tori [Sun, 10 Mar 2002 19:25:44 +0000 (19:25 +0000)]
Updated Slovenian translation
Simos Xenitellis [Sat, 9 Mar 2002 21:24:36 +0000 (21:24 +0000)]
Updated Greek translation
Jonathan Blandford [Sat, 9 Mar 2002 18:06:05 +0000 (18:06 +0000)]
Lots of docs.
Sat Mar 9 13:00:38 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/tmpl/gtktreemodel.sgml: Lots of docs.
Gediminas Paulauskas [Fri, 8 Mar 2002 23:01:28 +0000 (23:01 +0000)]
So I am already late for 2.0.0 :(
Why GTK+ is so ahead of GNOME 2.....
Owen Taylor [Fri, 8 Mar 2002 20:16:30 +0000 (20:16 +0000)]
List -I/opt/gtk/include not -I /opt/gtk/include.
Fri Mar 8 15:14:32 2002 Owen Taylor <otaylor@redhat.com>
* gtk/building.sgml: List -I/opt/gtk/include not
-I /opt/gtk/include.
* gtk/building.sgml: Add a gloss for XIM.
Owen Taylor [Fri, 8 Mar 2002 20:00:44 +0000 (20:00 +0000)]
======== Released GTK+-2.0 ========
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
Kristian Rietveld [Fri, 8 Mar 2002 19:40:15 +0000 (19:40 +0000)]
handle gtk-tree-model-drop-append like the ListStore, includes some tweaks
Fri Mar 8 20:41:51 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): handle
gtk-tree-model-drop-append like the ListStore, includes some
tweaks to work right with trees
Owen Taylor [Fri, 8 Mar 2002 19:28:50 +0000 (19:28 +0000)]
Some packing tweaks.
Fri Mar 8 14:22:43 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c (gtk_file_selection_init): Some packing
tweaks.
* configure.in: Include GLIB_LIBS when checking
for bind_textdomain_codeset, to catch the case where
it is in -lintl.
Jonathan Blandford [Fri, 8 Mar 2002 17:58:22 +0000 (17:58 +0000)]
get rid of really bad focus loop. (gtk_tree_view_clamp_node_visible): only
Thu Mar 7 16:46:58 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (validate_visible_area): get rid of really
bad focus loop.
(gtk_tree_view_clamp_node_visible): only clamp the node when
realized. Need to replace this with scroll_to_cell sometime.
(gtk_tree_view_header_focus): clickable or reorderable columns are
focusable, #73656
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix
docs to reflect behaviour change, #73682
Owen Taylor [Fri, 8 Mar 2002 17:15:20 +0000 (17:15 +0000)]
Fix version numbers. (Johan Dahlin.)
Fri Mar 8 11:12:32 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Fix version numbers. (Johan Dahlin.)
* INSTALL.in: Update, just refer to gtk-building.html
rather than duplicating information.
* README.in: Add release specific notes.
* Makefile.am (EXTRA_DIST): Remove TODO and TODO.xml
from the distribution.
Valek Frob [Fri, 8 Mar 2002 17:07:49 +0000 (17:07 +0000)]
Updated russian translation.
Matthias Warkus [Fri, 8 Mar 2002 12:05:48 +0000 (12:05 +0000)]
Last-minute update to German translation
Owen Taylor [Fri, 8 Mar 2002 05:53:51 +0000 (05:53 +0000)]
Final updates for 2.0.0
Thu Mar 7 23:29:35 2002 Owen Taylor <otaylor@redhat.com>
* NEWS: Final updates for 2.0.0
* README.in: Updates.
Tor Lillqvist [Thu, 7 Mar 2002 23:27:00 +0000 (23:27 +0000)]
Add missing .la suffix for libgdk_pixbuf.
2002-03-08 Tor Lillqvist <tml@iki.fi>
* gdk/Makefile.am (LDFLAGS): Add missing .la suffix for libgdk_pixbuf.
Matthias Clasen [Thu, 7 Mar 2002 23:20:16 +0000 (23:20 +0000)]
Add some ids which are referenced from the object hierarchy.
* gdk-pixbuf/tmpl/animation.sgml, gdk-pixbuf/tmpl/gdk-pixbuf.sgml,
gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtktextview.sgml, gtk/tmpl/gtkiconfactory.sgml,
gtk/tmpl/gtkaccelgroup.sgml: Add some ids which are referenced
from the object hierarchy.
* gtk/gtk-docs.sgml: Use parts as top-level division (#61575),
include gtkaccessible docs.
Kristian Rietveld [Thu, 7 Mar 2002 21:18:28 +0000 (21:18 +0000)]
increase value of new_location by one if cmp_a > 0 and we hit the end of
Thu Mar 7 21:32:01 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
value of new_location by one if cmp_a > 0 and we hit the end of
the list.
Ole Laursen [Thu, 7 Mar 2002 21:05:16 +0000 (21:05 +0000)]
Updated Danish translation.
2002-03-07 Ole Laursen <olau@hardworking.dk>
* da.po: Updated Danish translation.
Vincent van Adrighem [Thu, 7 Mar 2002 20:51:56 +0000 (20:51 +0000)]
Massive translation update from a joint translation attempt.
2002-03-07 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po: Massive translation update from a joint translation attempt.
Gathering.tweakers.net, a dutch forum with lots of nice people.
Matthias Clasen [Thu, 7 Mar 2002 20:39:57 +0000 (20:39 +0000)]
Some typo and markup fixes.
* gtk/building.sgml: Some typo and markup fixes.
Owen Taylor [Thu, 7 Mar 2002 15:39:31 +0000 (15:39 +0000)]
Fix problem where there were two copies of the "do an arrow step" code,
Thu Mar 7 10:31:57 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
there were two copies of the "do an arrow step" code,
one correct for rotated notebooks, one not. (#73855,
Thomas Leonard.)
Andraz Tori [Thu, 7 Mar 2002 12:47:02 +0000 (12:47 +0000)]
Updated Slovenian translation